From a0531c7822bc928626b801c7f3bbdc49163a25e8 Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Mon, 15 Dec 2025 17:20:24 +0200 Subject: [PATCH] formal: post formality check comments to PRs Enable posting formality check comments and warn if 'Allow edits and access to secrets by maintainers' is not checked. Signed-off-by: George Sapkin --- .github/workflows/formal.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml index be61d0e110..98133fda74 100644 --- a/.github/workflows/formal.yml +++ b/.github/workflows/formal.yml @@ -1,7 +1,7 @@ name: Test Formalities on: - pull_request: + pull_request_target: permissions: contents: read @@ -13,8 +13,5 @@ jobs: uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main with: exclude_weblate: true - # # Post formality check summaries to the PR. - # # Repo's permissions need to be updated for actions to modify PRs: - # # https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment - # post_comment: true - # warn_on_no_modify: true + post_comment: true + warn_on_no_modify: true -- 2.30.2